package com.weibiao.zhuhai.classloader;

public class ClassLoaderDemo {
	public static void main(String[] args) {
		ClassLoader cld = ClassLoader.getSystemClassLoader();
		System.out.println(cld);
		try {
			Class<?> loadClass = cld.loadClass("java.util.ArrayList");
			ClassLoader actual = loadClass.getClassLoader();
			System.out.println(actual);
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}
	}
}
